package com.func;

import java.util.List;

import com.Server;

/**
 * @author yinmage
 * @date 2022/08/03
 */
public class Polling extends Request{



    @Override
    Server getServer() {
        List<Server> list = getList();
        int i = getNum() % list.size();
        return list.get(i);
    }


}
